Can't connect to "localhost"
Hi,
I found this on
http://www.wampserver.com/phorum/read.php?2,78742
Basically make sure no other program conflict Wamp such as IIS, SQL, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop, Teamviewer ...
IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work
Disable IIS in W7:
Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services
Restart computer, then restart Wamp
Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else
127.0.0.1 localhost
If using Skype, open Skype > Tools > Options > Advanced > Connection then uncheck "use port 80..." restart Wamp then Skype
Hope this helps
November 3rd, 2011 12:12pm
Hi, today I've installed wampserver 2.0i to test a new cms I'm using and I wanted to work on localhost instead of the web server. After installing wampserver on my C: I tried to connect to localhost to install phpmyadmin and the cms... Firefox 7 didn't
allow me to connect to it. In fact, Firefox 7 keeps adding "www." and ".com" to localhost. The first thing I did of course is googling some answers. I found many topics providing many solutions.
Here's a list of what I've been dealing with (that didn't work for me):
First solution found:
1. Go to: \system32\drivers\etc\hosts
2. Open it as admin with notepad
3. Delete line: ::1 localhost
4. Save
5. Open command prompt as admin
6. type: ipconfig /flushdns
7. Done
Second solution found:
1. Open Firefox 7; go to: about:config
2. Type: network.dns.disableIPv6
3. make it false
4. Done
Third solution found:
1. Try to connect to 127.0.0.1 instead.
2. Can't. I get the message: Connection to the server has been reset.
Fourth solution found:
1. Try to connect with port :8080
2. Doesn't work either; same message.
-----------------------------------------------------------
I also tested the connection with IE8. Doesn't work either (Page cannot be displayed). I simply can't access to localhost.
I opened to command prompt to test the ping for both localhost and 127.0.0.1 and it worked well. I don't know what's going on and some help would be very appreciated. Thanks.
Here's my specs:
Windows7 Pro 64bits
Firefox 7.0.1
Wampserver 2.0i
CMS used: Fork
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2011 11:51pm
Hi,
I found this on
http://www.wampserver.com/phorum/read.php?2,78742
Basically make sure no other program conflict Wamp such as IIS, SQL, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop, Teamviewer ...
IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work
Disable IIS in W7:
Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services
Restart computer, then restart Wamp
Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else
127.0.0.1 localhost
If using Skype, open Skype > Tools > Options > Advanced > Connection then uncheck "use port 80..." restart Wamp then Skype
Hope this helps
November 5th, 2011 4:56am